package com.yjb.demo.tdengine.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * tdengine中的智能电表示例
 * @author yinjinbiao
 * @create 2024/6/3 14:07
 */
@Data
@TableName("meters")
public class Meters {

    @TableId
    private Date ts;

    private String current;

    private String voltage;

    private String phase;

    private String location;

    @TableField("groupId")
    private Integer groupId;
}
